// LoadFileList.h: interface for the CLoadFileList class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_LOADFILELIST_H__8FF38B5C_4012_4FEA_80F3_E3A03A9A5BAD__INCLUDED_)
#define AFX_LOADFILELIST_H__8FF38B5C_4012_4FEA_80F3_E3A03A9A5BAD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <map>
#include <string>
#include <iterator>
using namespace std;
#include "tlv12.h"
#include "RtDefines.h"

typedef map<string,string>		FilesMap;

class CLoadFileList  
{
public:
	CLoadFileList();
	virtual ~CLoadFileList();

public:
	static void	GetList(uint32_t nRoomID, FilesMap& mapFiles);

private:
	static string	GetRoomMediaDir(uint32_t nRoomID);
	static void	ScanRoomFile(char* szDir, FilesMap& mapFiles);
	static void	OnScanFile(char* szPath, FilesMap& mapFiles);
};

#endif // !defined(AFX_LOADFILELIST_H__8FF38B5C_4012_4FEA_80F3_E3A03A9A5BAD__INCLUDED_)
